package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {

    public List<Dept> findAll();
    int deleteById(int id);

    int insertData(Dept dept);

    Dept findById(int id);

    void update(Dept fdept);
}
